package com.zhijian.wharf.dao;



import com.zhijian.wharf.entity.po.Area;
import com.zhijian.wharf.entity.vo.request.AreaSearchVo;
import com.zhijian.wharf.entity.vo.response.AreaVo;

import java.util.List;

public interface AreaMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    int count(AreaSearchVo officeGroupSearchVo);

    List<AreaVo> selectList(AreaSearchVo officeGroupSearchVo);

    AreaVo selectVoById(Long id);

    /**
     * 根据名称查找
     *
     * @param name
     * @return
     */
    AreaVo selectVoByName(String name);
}